import os
import sys
from PySide2.QtGui import *
from PySide2.QtCore import *
from PySide2.QtWidgets import *


class Excample(QWidget):
    def __init__(self):
        super(Excample, self).__init__()

        self.main_layout = QVBoxLayout()
        self.show_label = QLabel('标签')
        self.main_layout.addWidget(self.show_label)

        self.setLayout(self.main_layout)
        # self.show()

if __name__ == '__main__':
    app = QApplication(sys.argv)
    c = Excample()
    c.show()

    sys.exit(app.exec_())